﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;

namespace _440_Homework1
{
    public abstract class Tile
    {

        public string tileSprite;
        private static Random rnd = new Random();

        public static Tile generateRandom()
        {
            var r = rnd.Next(0, 2);
            return (r > 0 ? (Tile)new WaterTile() : (Tile)new LandTile());
        }

    }
}
